ID Property (AddressList Object) 

The ID property returns the unique identifier of this AddressList object as a string. Read-only.

Syntax

objAddressList.ID

Data Type

String

Remarks

MAPI assigns a permanent, unique identifier string when an object is created. These identifiers do not change from one MAPI session to another.

The ID property corresponds to the MAPI property PR_ENTRYID, converted to a string of hexadecimal characters.

Example

This code fragment displays the value of the AddressList object s permanent identifier:

Dim strAddressListID as String ' hex string version of ID

Dim objAddressList as Object ' assume valid for this example

strAddressListID = objAddressList.ID ' global variable

MsgBox "Address Book ID = " & strAddressListID